﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
namespace OneMake.Model
{
    [PetaPoco.TableName("lz_d_prdsale")]
    [PetaPoco.PrimaryKey("oid")]
    public class lz_d_prdsale
    {
        [MapToField(FieldName = "统计日期")]
        public DateTime stat_datetime { get; set; }

        [MapToExcel(ColumnName = "宝贝名称")]
        public string prd_name { get; set; }

        [MapToExcel(ColumnName = "宝贝ID")]
        public string prd_id { get; set; }

        [MapToExcel(ColumnName = "宝贝详情页链接地址")]
        public string prd_url { get; set; }

        [MapToExcel(ColumnName = "宝贝页浏览量")]
        public int browses { get; set; }

        [MapToExcel(ColumnName = "宝贝页访客数")]
        public int visits { get; set; }

        [MapToExcel(ColumnName = "跳失率")]
        public double per_lost { get; set; }

        [MapToExcel(ColumnName = "拍下件数")]
        public int n_shopcart { get; set; }

        [MapToExcel(ColumnName = "拍下金额")]
        public double amount { get; set; }

        [MapToExcel(ColumnName = "成交用户数")]
        public int n_users { get; set; }

        [MapToExcel(ColumnName = "宝贝页成交转化率")]
        public double per_done { get; set; }

        [MapToExcel(ColumnName = "人均成交件数")]
        public double avg_prds { get; set; }

        [MapToExcel(ColumnName = "支付宝成交笔数")]
        public int alipay_num1 { get; set; }

        [MapToExcel(ColumnName = "支付宝成交件数")]
        public int alipay_num2 { get; set; }

        [MapToExcel(ColumnName = "支付宝成交金额")]
        public double alipay_amount { get; set; }

        [MapToExcel(ColumnName = "宝贝页收藏量")]
        public int favorites { get; set; }

        
		/////////////////////////////////////////
        [MapToField(FieldName = "门店编号")]
        public int shopid { get; set; }
        [MapToField(FieldName = "文件编号")]
        public int fileid { get; set; }
        [MapToField(FieldName = "编号")]
        public int oid { get; private set; }    
    }
}